<div class="header contain_menu">
        <ul>
           <a href="<?php echo base_url();?>">
           <li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == '' || str_replace('-', '_', $this -> uri -> segment(1)) == 'jobs')? 'class="treeview active"' : 'class="treeview"' ?>>
				<i class="fa fa-fw fa-home"></i> Home 
			</li>
            </a>
            <?php
            	if(!$this -> session -> userdata('employer_active_access')){
			?>
					<a href="<?php echo base_url();?>jobseekers">
		            <li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == 'jobseekers' )? 'class="active"' : 'class=""' ?>>
						<i class="fa fa-fw fa-user-md"></i> Jobseekers
					</li>
		            </a>
			<?php
				}
            ?>
            <?php
            	if(!$this -> session -> userdata('jobseeker_active_access')){
			?>
					<a href="<?php echo base_url();?>employers">
		            <li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == 'employers' )? 'class="active"' : 'class=""' ?>>
						<i class="fa fa-fw fa-users"></i> Employers
					</li>
		            </a>
			<?php
				}
            ?>
			<a href="<?php echo base_url();?>contact">
            <li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == 'contact' )? 'class="active"' : 'class=""' ?>>
				<i class="fa fa-fw fa-envelope"></i> Contact us
			</li>
            </a>
        </ul>	
</div>
